const express = require('express');
const router = express.Router();

const courseService = require('../service/courseService')

const expressJoi = require('@escook/express-joi')
const { course_update } = require('../rule/courseRule')

router.get('', courseService.course);

router.post('/update', expressJoi(course_update), courseService.update);


module.exports = router;
